import localStorages from '@/utils/ControlTheCache'

const TokenKey = 'token'

export function getToken(Key) {
  return localStorages.get(Key || TokenKey);
}

export function setToken(value, time, Key) {
  return localStorages.set(Key || TokenKey, value, time);
}

export function removeToken(Key) {
  return localStorages.remove(Key || TokenKey);
}
